package com.ruoyi.iot.domain.entity.jiuhetoudong;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 主机开关柜数据实体，对应 IoTDB 表 product_1964935588177780737_data
 */
@Data
@Schema(description = "主机开关柜数据实体，对应 IoTDB 表 product_1964935588177780737_data")
public class Product1964935588177780737DataJht {

    /** 时间戳 */
    @Schema(description = "时间戳")
    private LocalDateTime time;

    /** 设备ID */
    @Schema(description = "设备ID")
    private String deviceId;

    /** 租户ID */
    @Schema(description = "租户ID")
    private String tenantId;

    /** 质量 */
    @Schema(description = "质量")
    private Integer quality;

    /** 频率 */
    @Schema(description = "频率")
    private Float f;

    /** A相电流 */
    @Schema(description = "A相电流")
    private Float ia;

    /** B相电流 */
    @Schema(description = "B相电流")
    private Float ib;

    /** C相电流 */
    @Schema(description = "C相电流")
    private Float ic;

    /** 功率因数 */
    @Schema(description = "功率因数")
    private Float powerfactor;

    /** 装置上电 */
    @Schema(description = "装置上电")
    private Integer isprotectionpoweron;

    /** 运行定值区无效 */
    @Schema(description = "运行定值区无效")
    private Integer issettinggroupinvalid;

    /** 定值校验错误 */
    @Schema(description = "定值校验错误")
    private Integer issettingcheckfault;

    /** 开入开出异常 */
    @Schema(description = "开入开出异常")
    private Integer isiofault;

    /** 采样异常错误 */
    @Schema(description = "采样异常错误")
    private Integer issamplingfault;

    /** 程序校验错误 */
    @Schema(description = "程序校验错误")
    private Integer isprogramfault;

    /** 监视模块告警 */
    @Schema(description = "监视模块告警")
    private Integer ismonitormodulealarm;

    /** 光强越限告警 */
    @Schema(description = "光强越限告警")
    private Integer isfiberpoweralarm;

    /** HSB总线异常 */
    @Schema(description = "HSB总线异常")
    private Integer ishsbbusfault;

    /** 内部通信异常 */
    @Schema(description = "内部通信异常")
    private Integer isinternalcommfault;

    /** 对时信号异常 */
    @Schema(description = "对时信号异常")
    private Integer istimesyncfault;

    /** BMI模件异常 */
    @Schema(description = "BMI模件异常")
    private Integer isbmimodulefault;

    /** TV断线 */
    @Schema(description = "TV断线")
    private Integer isvtfault;

    /** 控制回路断线 */
    @Schema(description = "控制回路断线")
    private Integer iscontrolcircuitfault;

    /** 跳闸失败 */
    @Schema(description = "跳闸失败")
    private Integer istripfail;

    /** 位置不对应 */
    @Schema(description = "位置不对应")
    private Integer ispositionmismatch;

    /** 过热保护告警 */
    @Schema(description = "过热保护告警")
    private Integer isovertemperaturealarm;

    /** 过负荷告警 */
    @Schema(description = "过负荷告警")
    private Integer isoverloadalarm;

    /** 过压告警 */
    @Schema(description = "过压告警")
    private Integer isovervoltagealarm;

    /** 零序电压告警 */
    @Schema(description = "零序电压告警")
    private Integer iszeroseqvoltagealarm;

    /** 非电量1告警 */
    @Schema(description = "非电量1告警")
    private Integer isnonelectrical1alarm;

    /** 非电量2告警 */
    @Schema(description = "非电量2告警")
    private Integer isnonelectrical2alarm;

    /** 非电量3告警 */
    @Schema(description = "非电量3告警")
    private Integer isnonelectrical3alarm;

    /** 零序过流告警 */
    @Schema(description = "零序过流告警")
    private Integer iszeroseqovercurrentalarm;

    /** 控制电源故障 */
    @Schema(description = "控制电源故障")
    private Integer iscontrolpowerfail;

    /** CA线电压 */
    @Schema(description = "CA线电压")
    private Float uca;

    /** BC线电压 */
    @Schema(description = "BC线电压")
    private Float ubc;

    /** AB线电压 */
    @Schema(description = "AB线电压")
    private Float uab;

    /** 手车工作位置 */
    @Schema(description = "手车工作位置")
    private Integer istrolleyworkpos;

    /** 弹簧储能信号 */
    @Schema(description = "弹簧储能信号")
    private Integer isspringenergyonsignal;

    /** 现地位置 */
    @Schema(description = "现地位置")
    private Integer islocallocation;

    /** 远控位置 */
    @Schema(description = "远控位置")
    private Integer isremotelocation;

    /** 手车试验位置 */
    @Schema(description = "手车试验位置")
    private Integer istrolleytestpos;

    /** 存储器错误 */
    @Schema(description = "存储器错误")
    private Integer ismemoryfault;

    /** 电源合位置 */
    @Schema(description = "电源合位置")
    private Integer ispoweronpos;

    /** 电源分位置 */
    @Schema(description = "电源分位置")
    private Integer ispowerseppos;

    /** 超温报警 */
    @Schema(description = "超温报警")
    private Integer isovertempwarn;

    /** 有功功率 */
    @Schema(description = "有功功率")
    private Float p;

    /** 无功功率 */
    @Schema(description = "无功功率")
    private Float q;

    /** 接地刀合状态 */
    @Schema(description = "接地刀合状态")
    private Integer isgroundingswitchon;
}
